import { defineComponent } from "vue";
import "./index.scss";
const Title = defineComponent({
	props: {
		title: {
			type: String,
			default: "请传入标题"
		}
	},
	setup(props) {
		return () => {
			return (
				<div class={"com-title"}>
					<div class={"com-title-text"}>{props.title}</div>
					<div class={"com-title-img"}></div>
				</div>
			);
		};
	}
});
export default Title;
